Skip to content

Auto-append a cachebust URL to preview links [WHIT-3385]#11487

Open
kashifatcha wants to merge 1 commit into
mainfrom
auto-append-cachebust-url-query-parameter
Open

Auto-append a cachebust URL to preview links [WHIT-3385]#11487
kashifatcha wants to merge 1 commit into
mainfrom
auto-append-cachebust-url-query-parameter

Conversation

@kashifatcha
Copy link
Copy Markdown
Contributor

On the "preview" links we surface on the document summary screen, we want to append a ?cachebust={timestamp} parameter, where timestamp is the current time in seconds (unix epoch time)

I have auto-appended a cachebust URL query parameter to:

  • Normal document preview
  • Translation preview

We get some confusing support tickets where multiple publishers coalescee around the same document. A lot of the time, the underlying reason for the support ticket is caching. For example, two publishers previewing a document and seeing different things, because one of them had an older version cached already.

Adding a cachebust string will force a fresh preview everytime the publisher clicks on the preview link, which should minimise the number of support tickets coming our way.

@kashifatcha kashifatcha force-pushed the auto-append-cachebust-url-query-parameter branch 5 times, most recently from f6bb9dc to caf9bbf Compare May 22, 2026 08:12
On the "preview" links we surface on the document summary screen,
we want to append a `?cachebust={timestamp}` parameter, where
`timestamp` is the current time in seconds (unix epoch time)

I have auto-appended a cachebust URL query parameter to:
- Normal document preview
- Translation preview

We get some confusing support tickets where multiple publishers
coalescee around the same document. A lot of the time, the
underlying reason for the support ticket is caching. For example,
two publishers previewing a document and seeing different things,
because one of them had an older version cached already.

Adding a cachebust string will force a fresh preview everytime
the publisher clicks on the preview link, which should minimise the
number of support tickets coming our way.
@kashifatcha kashifatcha force-pushed the auto-append-cachebust-url-query-parameter branch from caf9bbf to fc4faf5 Compare May 22, 2026 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant